<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>js引用方式</title>
</head>

<body>
    <!-- 1.行内引用 -->
    <button onclick="console.log('行内引用');
     ">点我试试</button>
</body>
<!-- 内部引用 -->
<script>
    console.log('内部引用');
</script>
<!-- 外部引用 -->
<script src="../js/01.测试js.js"></script>

</html>